#ifndef K1S_SOCKET_H
#define K1S_SOCKET_H

struct svr_opt {
    const char *addr;
    unsigned short port;
    int backlog;
};

#define K1S_INADDR_ANY                "K1S_INADDR_ANY"

int svr_new_listen_tcp(struct svr_opt *svr_opt);
int svr_accept(int fd);

#endif
